﻿namespace etracks.Web
{
    using etracks.EntityModels;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;

    /// <summary>
    /// ViewModel used in StudentController, Index action
    /// </summary>
    public class StudentIndexViewModel
    {
        public int Students { get; set; }
    }

    /// <summary>
    /// ViewModel used in StudentController, List action
    /// </summary>
    public class StudentListViewModel
    {
        public List<Student> StudentList { get; set; }

        public StudentListViewModel()
        {
            this.StudentList = new List<Student>();
        }
    }

    /// <summary>
    /// ViewModel used in StudentController, List action
    /// </summary>
    public class StudentSearchViewModel
    {
        public string Search_Term { get; set; }

        public List<Student> StudentList { get; set; }

        public StudentSearchViewModel()
        {
            this.StudentList = new List<Student>();
        }
    }


    public class StudentRegistrationViewModel : Student
    {

    }
}

